package com.efast.cafe.framework.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class DataTableVo<T> implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1761291181348658939L;

	//private Integer sEcho=1;
	
	private Integer recordsTotal;
	
	private Integer recordsDisplay;
	private Integer recordsFiltered;

	
	private List<T> aaData;
//
//	public Integer getsEcho() {
//		return sEcho;
//	}
//
//	public void setsEcho(Integer sEcho) {
//		this.sEcho = sEcho;
//	}

	


	public List<T> getAaData() {
		if(null==aaData){
			aaData = new ArrayList<T>();
		}
		return aaData;
	}

	public void setAaData(List<T> aaData) {
		this.aaData = aaData;
	}

	

	public Integer getRecordsFiltered() {
		return recordsFiltered;
	}

	public void setRecordsFiltered(Integer recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}

	public Integer getRecordsTotal() {
		return recordsTotal;
	}

	public void setRecordsTotal(Integer recordsTotal) {
		this.recordsTotal = recordsTotal;
	}

	public Integer getRecordsDisplay() {
		return recordsDisplay;
	}

	public void setRecordsDisplay(Integer recordsDisplay) {
		this.recordsDisplay = recordsDisplay;
	}

	
	
	
	
}
